package com.hkccommunity.service;

import com.hkccommunity.entity.Problem;

import java.util.List;

public interface ProblemService {

    List<Problem> getProblem(Integer index,Integer num);

    int getCount();

    int updateReadCount(Long problemId);

    Problem getProblemById(Long problem);

    int addProblem(Problem problem);

    List<Problem>  getProblemByInput(String input);
}
